package hua.mtreader.feature.login.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/3/15.
 */

public class UserBean {

    /**
     * data : {"festivalArray":[{"festivalName":"","giftArray":[],"sequence":""}],"icon":"http://pic.motieimg.com/people/5847341s1.jpg","id":5847341,"level":0,"name":"出口123456","score":"955/999","token":"f2f0517b2735caced7055847341"}
     * error_msg :
     * error_no : 0
     * result : 1
     */

    private DataBean data;
    private String error_msg;
    private int error_no;
    private int result;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public int getError_no() {
        return error_no;
    }

    public void setError_no(int error_no) {
        this.error_no = error_no;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public static class DataBean {
        /**
         * festivalArray : [{"festivalName":"","giftArray":[],"sequence":""}]
         * icon : http://pic.motieimg.com/people/5847341s1.jpg
         * id : 5847341
         * level : 0
         * name : 出口123456
         * score : 955/999
         * token : f2f0517b2735caced7055847341
         */

        private String icon;
        private int id;
        private int level;
        private String name;
        private String score;
        private String token;
        private List<FestivalArrayBean> festivalArray;

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public List<FestivalArrayBean> getFestivalArray() {
            return festivalArray;
        }

        public void setFestivalArray(List<FestivalArrayBean> festivalArray) {
            this.festivalArray = festivalArray;
        }

        public static class FestivalArrayBean {
            /**
             * festivalName :
             * giftArray : []
             * sequence :
             */

            private String festivalName;
            private String sequence;
            private List<?> giftArray;

            public String getFestivalName() {
                return festivalName;
            }

            public void setFestivalName(String festivalName) {
                this.festivalName = festivalName;
            }

            public String getSequence() {
                return sequence;
            }

            public void setSequence(String sequence) {
                this.sequence = sequence;
            }

            public List<?> getGiftArray() {
                return giftArray;
            }

            public void setGiftArray(List<?> giftArray) {
                this.giftArray = giftArray;
            }
        }
    }


    @Override
    public String toString() {
        return "UserBean{" +
                "data=" + data +
                ", error_msg='" + error_msg + '\'' +
                ", error_no=" + error_no +
                ", result=" + result +
                '}';
    }
}
